/*
 * Created by BAC IT Deustche Bank
 * User: Sergio Vasquez
 * Date: 6/12/2009
 * Time: 9:12 AM
 * 
 * Description:
 * 
 */
using System;
using System.Runtime.Serialization;
using IScheduler.Core.Exceptions;
using IScheduler.Core.Properties;

namespace IScheduler.Core.Persistence
{
	/// <summary>
	/// Description of DataAccessException.
	/// </summary>
	[Serializable()]
	public class DataAccessException : CoreException
	{
		readonly static string MessageException = Resources.ExceptionDataAccessLayerMessage;
		
		public DataAccessException() : base()
		{
		}
		
		public DataAccessException(string message, string customName) : base(message, customName, MessageException)
		{
		}
		
		public DataAccessException(string message, string customName, Exception innerException) : base(message, customName, MessageException, innerException)
		{
		}
		
		protected DataAccessException(SerializationInfo info, StreamingContext context) : base(info, context)
		{
		}	
	}
}
